Guild icon
S3Drive
Community / support / Cloudflare Tunnel - content-length issue when uploading to self-hosted MinIO
Avatar
Abdul Hakim Ghaniy 10/26/2024 7:46 PM
Hello. I just got this error when uploading new content into my bucket, where using self-hosted MinIO. All using default config. I just add Secret and Key into app. MinIO bucket using Quota, non-version, cors is set to *, etc on default config
Avatar
Thanks for your report. It doesn't seem we can reproduce this issue on Android and MinIO. What's your MinIO version? What functionality do you use in-app, is that file upload, folder upload or any other? (edited)
Avatar
Abdul Hakim Ghaniy 11/3/2024 10:06 PM
Hello, thanks for your response. I used MinIO behinds Cloudflared Tunnel. Seems this error because of Cloudflare behavior that rewriting Request Header and not sent Content-Length header, due to Cloudflared Cache. I tweak some Cloudflare configs on Page Rule and Cloudflared Public Domain....
Avatar
Avatar
Abdul Hakim Ghaniy
Hello, thanks for your response. I used MinIO behinds Cloudflared Tunnel. Seems this error because of Cloudflare behavior that rewriting Request Header and not sent Content-Length header, due to Cloudflared Cache. I tweak some Cloudflare configs on Page Rule and Cloudflared Public Domain....
Thanks. Would you like to share what needs to be configured for Cloudflare Tunnel in order to make it work? It might be useful for other users facing this issue. (edited)
Tom changed the channel name: Cloudflare Tunnel - content-length issue when uploading to self-hosted MinIO 11/3/2024 11:05 PM
Exported 5 message(s)
Timezone: UTC+0